package com.jiangcheng.demo.service;

import com.jiangcheng.demo.entity.TreeHole;
import com.baomidou.mybatisplus.extension.service.IService;
import com.jiangcheng.demo.utils.NewResult;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author admin
 * @since 2021-08-09
 */
public interface TreeHoleService extends IService<TreeHole> {

    NewResult insert(TreeHole treeHole);

    NewResult findTreeHoleByPage(Integer page, Integer pageSize, Integer uId);

    NewResult countByUid(Integer uId);

    NewResult findTreeHoleByUid(Integer uId);

    NewResult findCommentByTId(Integer tId);

    NewResult findReplyByCommentId(Integer cId,Integer uId);
}
